package cn.ac.big.bigd.dao;


import cn.ac.big.bigd.model.generate.NewAnnotationDetail;
import cn.ac.big.bigd.model.generate.NewAssembly;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;


@Repository
public interface NewAnnotationDetailDao extends JpaRepository<NewAnnotationDetail, Long> {
    @Transactional
    Long deleteByNewAssembly(NewAssembly newAssembly);

}
